<!--
 * @Author: your name
 * @Date: 2021-12-07 17:30:18
 * @LastEditTime: 2021-12-16 15:19:12
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\vehicle\components\list\img-view\img-view.component.html
-->
<!--
 * @Author: your name
 * @Date: 2021-12-07 17:30:18
 * @LastEditTime: 2021-12-15 17:34:07
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\vehicle\components\list\img-view\img-view.component.html
-->
<div class="modal-header">
  <div class="modal-title">查看协议</div>
</div>
<div class="text-center">
  <!-- <div class="text-center"><img [src]="i?.carProtocal" /></div> -->
  <div class="text-center">  <img (click)="showImg(i?.carProtocal)" [src]="i?.carProtocal" style="width: 200px;height: 160px;" /></div>
</div>
<div *nzModalFooter>
  <button *ngIf="i?.auditStatusEnum == 20 || i?.auditStatusEnum == 30" nz-button nzType="default" (click)="cancel()">取消</button>
  <button *ngIf="i?.auditStatusEnum == 20 || i?.auditStatusEnum == 30" nz-button nzType="primary" (click)="cancel()">确定</button>

  <button *ngIf="i?.auditStatusEnum == 10" nz-button nzType="default" (click)="reject()">驳回</button>
  <button *ngIf="i?.auditStatusEnum == 10" nz-button nzType="primary" (click)="okCancel()">通过</button>
</div>
<style>
  .text-center img {
    max-width: 100%;
  }
</style>
